package com.example.demo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.example.demo.Excel.ExcelColumn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hanfei
 * @since 2020-04-08
 */
@TableName("t_d_role_permissions")
@ApiModel("")
public class Role_permissions implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId("id")
    @ApiModelProperty(value = "编号")
    @ExcelColumn(value = "编号",col = 1)
    private String id;
    /**
     * 角色id
     */
    @TableField("roleid")
    @ApiModelProperty(value = "角色id")
    @ExcelColumn(value = "角色id",col = 1)
    private String roleid;
    /**
     * 资源id
     */
    @TableField("permissionsid")
    @ApiModelProperty(value = "资源id")
    @ExcelColumn(value = "资源id",col = 1)
    private String permissionsid;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getRoleid() {
        return roleid;
    }

    public void setRoleid(String roleid) {
        this.roleid = roleid;
    }

    public String getPermissionsid() {
        return permissionsid;
    }

    public void setPermissionsid(String permissionsid) {
        this.permissionsid = permissionsid;
    }

    @Override
    public String toString() {
        return "Role_permissions{" +
        "id=" + id +
        ", roleid=" + roleid +
        ", permissionsid=" + permissionsid +
        "}";
    }
}
